import { http } from '@/utils/http.js';
import { config } from '../utils/config';

// 登录
export function getOpenIdApi(param) {
	return http({
		url: config.URL_PRD + '/api/v1/user/getOpenId',
		method: 'GET',
		data: param
	})
}

// 修改个人信息
export function updateByIdApi(param) {
	return http({
		url: config.URL_PRD + '/api/v1/user/updateById',
		method: 'POST',
		data: param
	})
}